package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运行记事对象 sys_work_log_diary
 * 
 * @author ruoyi
 * @date 2023-02-02
 */
public class SysWorkLogDiary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long diaryId;

    /** 记录类型 */
    @Excel(name = "记录类型")
    private Long type;

    /** 记录内容 */
    @Excel(name = "记录内容")
    private String text;

    /** 负责人 */
    @Excel(name = "负责人")
    private String userName;

    /** 日志编号 */
    @Excel(name = "日志编号")
    private Long logId;

    public void setDiaryId(Long diaryId) 
    {
        this.diaryId = diaryId;
    }

    public Long getDiaryId() 
    {
        return diaryId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("diaryId", getDiaryId())
            .append("type", getType())
            .append("text", getText())
            .append("userName", getUserName())
            .append("logId", getLogId())
            .toString();
    }
}
